//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.wyh.mapper.appmapper;

import com.wyh.domain.po.gfour.Contacts;
import com.wyh.domain.vo.gruopfour.customerVO.ContactsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ContactsMapper {
    List<ContactsVO> selectContactsByCustomerId(@Param("customerId") int customerId);

    int deleteContactsById(int id);

    int addContacts(Contacts contacts);

    Contacts findByPhone(String telephone);

    Integer updateContacts(Contacts contacts);

    void addUser(String telephone);

    Integer getUserByPhone(String telephone);

    void addUserRole(@Param("userId") Integer userId);
}
